import Layout from '@/views/layout/index.vue'

export default {
  path: '/good',
  component: Layout,
  name: 'Good',
  redirect: '/good/goodList',
  meta: { title: '商品管理',icon:"el-icon-star-on"},
  children: [
    {
      path: 'goodsList',
      component: () => import('@/views/goods/goodsList.vue'),
      meta: { title: '商品列表'}
    },
    {
      path: 'goodsAdd',
      component: () => import('@/views/goods/goodsAdd.vue'),
      meta: { title: '添加商品'}
    },
    {
      path: 'goodsEdit',
      component: () => import('@/views/goods/goodsEdit.vue'),
      meta: { title: '编辑商品', hide:true}
    }
  ]
}
